import { IsString, IsNotEmpty, IsEnum } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class CreateShopDto {
  @ApiProperty({ description: '商店名称' })
  @IsString()
  @IsNotEmpty()
  name: string;

  @ApiProperty({ description: '商店地址' })
  @IsString()
  @IsNotEmpty()
  address: string;

  @ApiProperty({ description: '店长姓名' })
  @IsString()
  @IsNotEmpty()
  manager: string;

  @ApiProperty({ description: '商店状态', enum: ['active', 'inactive'] })
  @IsEnum(['active', 'inactive'])
  status: string;
} 